home *** CD-ROM | disk | FTP | other *** search
- #! /bin/csh -f
- # Script for testing hdf24to8
- #
- # Input files needed: corn.r24 and head.r24 (both 24-bit hdf raster
- # image files)
- # Output files: corn.r8 and head.r8
- #
- # Output files can be examined with hdfls to see if basic
- # contents are there. Display the images using any HDF
- # 8-bit raster display tool.
- #
- set echo
- #
- # convert image stored in corn.r24 to 8-bit image stored in corn.r8
- hdf24to8 corn.r24 corn.r8
- #
- # convert image stored in corn.r24 to 8-bit image stored in corn.r8
- hdf24to8 head.r24 head.r8
- #
- unset echo
-